package com.itbaizhan.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 账户实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("account_tbl")
public class TAccount {

    @TableId(type = IdType.AUTO)
    private Integer id;

    // 用户id
    @TableField("user_id")
    private String userId;

    private Integer money;


}
